Basic Speech Synthesis
Function:
speech.synthesis(text,language)Description: speech synthesis
Required parameter:
- text: text content
- language: language. 1: Chinese; 2: English
- Return:
- voice_data: hexadecimal data
Example
text = "1223123123" voice_data = speech.synthesis(text=text)Perform speech synthesis of text and get hexadecimal data.